<template>
  <div style="wrapper">
    <div class="navigator">
        <router-link to="/">
          <img src="../../assets/imgs/icons/home.png" alt="" class="icon">
          <div>社区</div>
        </router-link>
        <router-link to="/actives">
          <img src="../../assets/imgs/icons/todoList.png" alt="" class="icon">
          <div>活动</div>
        </router-link>
        <router-link to="/add">
          <img src="../../assets/imgs/icons/addNew.png" alt="" class="icon">
          <div>发布</div>
        </router-link>
        <router-link to="/mine">
          <img src="../../assets/imgs/icons/mine.png" alt="" class="icon">
          <div>我的</div>
        </router-link>
    </div>
  </div>

</template>

<script>
export default {
  name: "Navigator"
}
</script>

<style scoped>
  .wrapper {
    height: 5vh !important;
  
    margin: 5vh 0 0 0;
  }
  .navigator{
    position: fixed;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 6vh;
    width: 100%;
    /* border-top: 1px solid #e3e3e3; */
    background-color: #e3e3e3;
    z-index: 999;
  }
  .icon{
    height: 30px;
    vertical-align: middle;
  }
  a {
    text-decoration: none;
    font-weight: bold;
    color: #2c3e50;
  }

  a.router-link-exact-active {
    color: #ff8800;
  }
</style>